package org.example.reemploymentsys.repository;


import org.example.reemploymentsys.entity.Organization;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

public interface OrganizationRe extends JpaRepository<Organization, Long>, JpaSpecificationExecutor<Organization> {
    @Query("select o from Organization o where o.id = ?1")
    Organization findOrganizationById(String organizationId);
}
